package 第五章;

public class Applicatiom {
    public static void main(String args[]) {
        Simulator simulator = new Simulator();
        simulator.playSound(new Dog());
        simulator.playSound(new Cat());
    }

}
